<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta name="viewport" content="width=device-width, maximum-scale=1.0, initial-scale=1.0, user-scalable=no">
        <title>{{if get_config('seotitletype') eq '1' }}
            {{$title}} {{get_config('keywords')}}
            {{elseif get_config('seotitletype') eq '2'}}
            {{$title}} {{get_config('webname')}}
            {{elseif get_config('seotitletype') eq '3'}}
            {{$title}} {{get_config('keywords')}} {{get_config('webname')}}
            {{else}}
            {{$title}}
            {{/if}} 手机版</title>
        <meta name="keywords" content="{{$title}} {{get_config('keywords')}}" />
        <meta name="description" content="{{$title}} {{get_config('description')}}" />
        <link rel="shortcut icon" href="/favicon.ico">
        <link rel="apple-touch-icon" href="/apple-touch-icon.png">
        <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png">
        <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png">
        <link href="{{STATIC_URL}}/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">
        <link href="{{STATIC_URL}}/app/mobile_index.css?v{{random(4)}}" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="{{STATIC_URL}}/app/jquery-1.8.2.min.js"></script>
        <script type="text/javascript" src="{{STATIC_URL}}/app/mobile_scroll.js"></script>
        <script type="text/javascript" src="{{STATIC_URL}}/app/mobile_scrollload.js"></script>

    </head>
    <body>
        <!--网站容器-->
        <div id="container">
            <!--网站头部-->
            <div id="header" name="top">{{get_config('webname')}}</div>
            <!--导航条-->
            <nav id="nav">
                <ul>
                    {{foreach $meuns as $item}}
                    <li><a href="{{if $item['type']!=2}}{{url('app/index/lists', ['catid'=>$item['catid']])}} {{else}}{{$item['pclink']}}{{/if}}">{{$item['catname']}}</a></li>
                    {{/foreach}}
                </ul>
            </nav>
            <div class="clearfix"></div>
            <!--焦点图-->
            <div class="topPic">
                <div class="imgSlideMain">
                    <div id="imgSlide" class="imgSlide">
                        <ul>
                            {{hits field="contentid,title,catid" catid="$catid" thumb="1" limit="3"}}
                            <li><a href="/app/index/show/?catid={{$r['catid']}}&id={{$r['contentid']}}"><img src="/static/common/img/nopic.jpg" ></a><p>{{cutstr($r.title, 50)}}</p></li>
                            {{/hits}}
                        </ul>
                    </div>
                    <ul class="navSlide"> <li class="i_point"><li class="i_point"><li class="i_point active"></ul>
                </div>
            </div>
            <!--主要内容-->
            <div id="main">
                <div class="list_news">
                    <h3 class='tit'>【最近更新】</h3>
                    <ul>
                        {{hits field="contentid,title,catid" catid="$catid" limit="10"}}
                        <li><a href="/app/index/show/?catid={{$r['catid']}}&id={{$r['contentid']}}" title="{{$r.title}}">{{cutstr($r.title, 50)}}</a></li>
                        {{/hits}}
                    </ul>
                </div>
                <div class="list_news">
                    <h3 class='tit'>【特别推荐】</h3>
                    <ul>
                        {{hits field="contentid,title" catid="$catid" thumb="1" limit="3"}}
                        <li><a href="app/index/show/?contentid={{$r['contentid']}}"><img src="/static/common/img/nopic.jpg" ></a><p>{{cutstr($r.title, 50)}}</p></li>
                        {{/hits}}
                    </ul>
                </div>

            </div>
            <div id="fanhui">
                <a href="#top">返回顶部</a>
            </div>
            <!--网站底部-->
            <footer id="footer">
                <p>{{get_config('copyright')}}</p>
            </footer>
        </div>
    </body>
</html>